<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrl_dashboard.ascx.cs" Inherits="Controls_ctrl_dashboard" %>

<div class="plcDashHead">
	<asp:Panel CssClass="pathWayAvatar" runat="server" ID="userAvatar" />
	<asp:Panel CssClass="pathWayPanel" runat="server" ID="userText" />
	
	<asp:Placeholder runat="server" ID="userBreak">
		<br />
		<br />
	</asp:Placeholder>
	
	<asp:UpdatePanel runat="server" ID="updPanelRdn" UpdateMode="Conditional">
		<Triggers>
			<asp:AsyncPostBackTrigger ControlID="rdnLink" EventName="Click" />
		</Triggers>
		<ContentTemplate>
			<!--<div>
				<asp:Label runat="server" CssClass="editBoxTitle" ID="Label3" Text="<% $Resources:RandomImage %>" />
				<asp:Label runat="server" CssClass="editBoxTitle" ID="lblRnd" Text="&raquo;" />
				<asp:HyperLink runat="server" CssClass="editBoxTitle" ID="linkRandom" 
					Text="" NavigateUrl="~/explore/default.aspx" />
			</div>
			
			<br />-->
			
			<asp:HyperLink runat="server" ID="imgView" CssClass="imgView" />
		</ContentTemplate>
	</asp:UpdatePanel>
	
	<asp:LinkButton runat="server" CssClass="normal" ID="rdnLink" OnClick="Clickit" 
		Text="<% $Resources:NewRandomImage %>" />
	
	<br />
	<br />
	
	<asp:PlaceHolder runat="server" ID="plcOwnEmpty" />
	<asp:PlaceHolder runat="server" ID="plcOwnImages">
		<div class="plcImageList plcHeight120 paddingBottom20">
			<div>
				<asp:Label runat="server" CssClass="editBoxTitle" ID="Label1" Text="&raquo;" />
				<asp:HyperLink runat="server" CssClass="editBoxTitle" ID="linkOwn" 
					Text="<% $Resources:YourImages %>" NavigateUrl="~/default.aspx?id=images" />
			</div>
			
			<br />
			
			<asp:PlaceHolder runat="server" ID="plcOwnImageList" />
		</div>
	</asp:PlaceHolder>
	
	<asp:PlaceHolder runat="server" ID="plcAllImages">
		<div class="plcImageList plcHeight120">
			<div>
				<asp:Label runat="server" CssClass="editBoxTitle" ID="lblAll" Text="&raquo;" />
				<asp:HyperLink runat="server" CssClass="editBoxTitle" ID="linkAll" 
					Text="<% $Resources:AllImages %>" NavigateUrl="~/explore/default.aspx" />
			</div>
			
			<br />
			
			<asp:PlaceHolder runat="server" ID="plcAllImagesList" />
		</div>
	</asp:PlaceHolder>
	
	<asp:PlaceHolder runat="server" ID="plcOnlineUsers" Visible="false">
		<br />
		
		<div>
			<asp:Label runat="server" CssClass="editBoxTitle" ID="lblOnline" Text="&raquo; Online Users: " />
		</div>
		
		<br />
	</asp:PlaceHolder>
</div>
